from django.db import models


class InfoModels(models.Model):
    TitleInfo = models.CharField(max_length=20, verbose_name="标题", help_text="标题")
    TextInfo = models.TextField(verbose_name="信息内容", help_text="信息内容")
    ChangeInfo = models.CharField(max_length=20, verbose_name="所属部门", help_text="任务所属部门", null=True, blank=True)
    Successfully_Info = models.BooleanField(verbose_name="是否完成", default=False, help_text="该任务信息表是否已经完成")
    create_time = models.DateTimeField(auto_now_add=True, verbose_name="创建时间")


    class Meta:
        verbose_name = "任务信息管理"
        verbose_name_plural = verbose_name
